package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 企业风险表 companyrisk
 * 
 * @author ruoyi
 * @date 2019-04-26
 */
public class Companyrisk extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private Integer id;
	/** 企业ID */
	private Integer cid;
	/** 企业全称 */
	private String fullname;
	/** 编码 */
	private String code;
	/** 风险标题 */
	private String title;
	/** 风险类型 */
	private String risktype;
	/** 风险级别 */
	private Integer risklevel;
	/** 录入时间 */
	private Date createdate;
	/** 来源 */
	private String source;
	/** URL */
	private String url;
	/** 内容细节 */
	private String info;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setCid(Integer cid) 
	{
		this.cid = cid;
	}

	public Integer getCid() 
	{
		return cid;
	}
	public void setFullname(String fullname) 
	{
		this.fullname = fullname;
	}

	public String getFullname() 
	{
		return fullname;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}

	public String getTitle() 
	{
		return title;
	}
	public void setRisktype(String risktype) 
	{
		this.risktype = risktype;
	}

	public String getRisktype() 
	{
		return risktype;
	}
	public void setRisklevel(Integer risklevel) 
	{
		this.risklevel = risklevel;
	}

	public Integer getRisklevel() 
	{
		return risklevel;
	}
	public void setCreatedate(Date createdate) 
	{
		this.createdate = createdate;
	}

	public Date getCreatedate() 
	{
		return createdate;
	}
	public void setSource(String source) 
	{
		this.source = source;
	}

	public String getSource() 
	{
		return source;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}

	public String getUrl() 
	{
		return url;
	}
	public void setInfo(String info) 
	{
		this.info = info;
	}

	public String getInfo() 
	{
		return info;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cid", getCid())
            .append("fullname", getFullname())
            .append("code", getCode())
            .append("title", getTitle())
            .append("risktype", getRisktype())
            .append("risklevel", getRisklevel())
            .append("createdate", getCreatedate())
            .append("source", getSource())
            .append("url", getUrl())
            .append("info", getInfo())
            .toString();
    }
}
